-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modification by filter #2186
Modification by filter #2186
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may be because I am using the modification_by_filter_no_migration_data
branch, just let me know. But I am losing a value if I close and reopen the field :
If I apply the network modification this works fine so the value is saved in the database.
But in the log, the new value (12) is written nowhere 👍
Not a bug but I think that would be a good improvement to add it.
=> OK DONE
The first issue, I will verify what happens The second issue, we can show severity TRACE to show the transition of values |
}) | ||
) | ||
.required() | ||
.min(1, 'FieldIsRequired'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no translation for FieldIsRequired ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The translation looks fine to me :
"FieldIsRequired": "This field is required",
"FieldIsRequired": "Ce champ doit être renseigné",
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
YupRequired is a newer key, I think should switch to the newer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DONE
interface AssignmentFormProps { | ||
name: string; | ||
index: number; | ||
predefinedProperties: any; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type of predefinedProperties
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DONE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...nts/dialogs/network-modifications/by-filter/by-assignment/assignment/assignment-constants.ts
Outdated
Show resolved
Hide resolved
...nts/dialogs/network-modifications/by-filter/by-assignment/assignment/assignment-constants.ts
Outdated
Show resolved
Hide resolved
...nts/dialogs/network-modifications/by-filter/by-assignment/assignment/assignment-constants.ts
Outdated
Show resolved
Hide resolved
...ponents/dialogs/network-modifications/by-filter/by-assignment/assignment/assignment-form.tsx
Outdated
Show resolved
Hide resolved
...ponents/dialogs/network-modifications/by-filter/by-assignment/assignment/assignment-form.tsx
Outdated
Show resolved
Hide resolved
}) | ||
) | ||
.required() | ||
.min(1, 'FieldIsRequired'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The translation looks fine to me :
"FieldIsRequired": "This field is required",
"FieldIsRequired": "Ce champ doit être renseigné",
...nts/dialogs/network-modifications/by-filter/by-assignment/assignment/assignment-constants.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code => OK
.../dialogs/network-modifications/by-filter/by-assignment/modification-by-assignment-dialog.tsx
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
Related PR: gridsuite/commons-ui#534